<?php

namespace app\common\validate;

class Id extends BaseValidate
{
    protected $rule = [
        'id' 		=> 'require|isNotEmpty|gt:0',
    ];
    
    protected $message=[
        'id.gt' 		=> 'id必须为正整数.',
        'id.require' 	=> 'id是为必须的参数.',
        'id.isNotEmpty' => 'id不能为空.',
    ];
}
